package com.ruoyi.warning.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.warning.domain.entity.Message;
import com.ruoyi.warning.domain.query.MessageQuery;

import java.util.List;

/**
 * <p>
 * 告警信息记录表 服务类
 * </p>
 *
 * @author chenhc
 * @since 2025-02-06
 */
public interface IMessageService extends IService<Message> {

    TableDataInfo getMessagePage(MessageQuery query);

    String saveMessage(Message message);

    String deleteMessage(List<String> ids);

    String updateMessage(Message message);

    String export(List<String> ids);

    Message getDetails(String id);

    List<Message> getMessageList(MessageQuery query);
}
